.container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.bg-img {
    flex-shrink: 0;
    height: 100%;
    object-fit: fill;
}

.bg-text {
    background-color: transparent;
    width: 140px;
    height: 60px;
    color: white;
    position: absolute;
    right: 20px;
}
.lately {
    left: 10px;
    top: 10px;
    height: 140px;
}
.new {
    top: 15px;
}
.history {
    bottom: 15px;
}

@media (device-type: tablet) and (orientation: portrait){
    .bg-text {
        background-color: transparent;
        color: white;
        position: absolute;
        right: 10px;
        bottom: 20px;
    }
    .lately {
        left: 10px;
        top: 20px;
        height: 210px;
        width: 120px;
    }
    .new {
        top: 18px;
        width: 140px;
        height: 100px;
    }
    .history {
        bottom: 18px;
        width: 140px;
        height: 100px;
    }
}
@media (device-type: tablet) and (orientation: landscape){
    .bg-text {
        background-color: transparent;
        color: white;
        position: absolute;
        right: 20px;
        bottom: 20px;
    }
    .lately {
        left: 10px;
        top: 10px;
        height: 160px;
        width: 160px;
    }
    .new {
        top: 20px;
        width: 160px;
        height: 60px;
    }
    .history {
        bottom: 20px;
        width: 160px;
        height: 60px;
    }
}